{{! template used in lib/class_htmlout.php for rendering team tables}}
<table id="teamTable" class="renderTable">
	<thead>
		<tr>
			<th class="nosort">Logo</th>
			<th>Name</th>
			<th>Coach</th>
			<th class="align_c nosort">Ready</th>
			<th>Race</th>
			<th>Latest tour</th>
			<th class="nosort">Prizes</th>
			<th>Games</th>
			<th class="align_r">TV</th>
		</tr>
	</thead>
	<tbody>	
		{{#team}}
			<tr>
				<td><a href="index.php?section=coachcorner&team_id={{team_id}}">{{{logo}}}</a></td>
				<td><a href="index.php?section=coachcorner&team_id={{team_id}}">{{{name}}}</a></td>
				<td><a href="index.php?section=coaches&coach_id={{owned_by_coach_id}}">{{coach_name}}</a></td>
				<td class="align_c">{{{rdy}}}</td>
				<td><a href="index.php?section=races&race={{f_race_id}}">{{race}}</a></td>
				<td>{{{latest_tour}}}</td>
				<td>{{{prizes}}}</td>
				<td>{{played}}</td>
				<td class="align_r">{{value}}k</td>
			</tr>
		{{/team}}
	</body>
</table>